<script setup lang='ts'>
import { useCounterStore } from './stores/counter';

const stor = useCounterStore()
stor.getChannelList()

</script>

<template>
    <div>
        父组件
        <ul>
            <li v-for="item in stor.channelList" :key="item.id">{{ item.name }}</li>
        </ul>
    </div>
</template>

<style scoped></style>